package com.groupseven.backend.domain.User;

import com.groupseven.backend.domain.Permission.PermissionItem;

import java.util.Set;

public class UserAuthorities {

    public String Username;

    public Set<PermissionItem> Permissions;

    public String getUsername() {
        return Username;
    }

    public void setUsername(String username) {
        Username = username;
    }

    public Set<PermissionItem> getPermissions() {
        return Permissions;
    }

    public void setPermissions(Set<PermissionItem> permissions) {
        Permissions = permissions;
    }

    public UserAuthorities(String username, Set<PermissionItem> permissions) {
        Username = username;
        Permissions = permissions;
    }

    public UserAuthorities() {
    }
}
